<%--
  Created by IntelliJ IDEA.
  User: Z-7
  Date: 2022/3/1
  Time: 12:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="${pageContext.request.contextPath}/resource/bootstrap4/css/bootstrap.css" rel="stylesheet">
    <script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/jquery-3.2.1.js"></script>
    <script src="${pageContext.request.contextPath}/resource/bootstrap4/js/bootstrap.js"></script>
    <title>豪哥商城后台管理</title>
</head>
<body>
<blockquote class="blockquote text-center">
    <p class="mb-0">豪哥商城</p>
    <footer class="blockquote-footer">welcome<cite title="Source Title">HaoGeShop</cite></footer>
</blockquote>
    <%--导航条--%>
    <div class="container">
        <jsp:include page="navigation.jsp"/>
    </div>
    <%--主要操作部分--%>
    <div class="container">
        <div class="row">
            <div class="col-3">
                <div class="list-group" id="list-tab" role="tablist">
                    <a onclick='enterFun("${pageContext.request.contextPath}/brands/list")' class="list-group-item list-group-item-action active" id="list-home-list" data-toggle="list" href="#list-home" role="tab" aria-controls="home">品牌管理</a>
                    <a onclick='enterFun("${pageContext.request.contextPath}/cats/list")' class="list-group-item list-group-item-action" id="list-profile-list" data-toggle="list" href="#list-profile" role="tab" aria-controls="profile">分类管理</a>
                    <a onclick='enterFun("${pageContext.request.contextPath}/goods/list")' class="list-group-item list-group-item-action" id="list-messages-list" data-toggle="list" href="#list-messages" role="tab" aria-controls="messages">商品管理</a>
                </div>
            </div>
            <div class="col-9" id="content"></div>
        </div>
    </div>
<script type="text/javascript">
    function enterFun(url) {
        $("#content").load(url);
    }
</script>
</body>
</html>
